feat(naive_bayes): dataframe-agnostic MultinomialNB via narwhals - #1974
feat(naive_bayes): dataframe-agnostic MultinomialNB via narwhals#1974JokeGbenro wants to merge 6 commits into
Conversation
Co-authored-by: Codex <codex@openai.com>
45dea61 to
6e0afad
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
|
I pushed two follow-up fixes for the failing checks. The pandas doctest was failing because The Verified locally:
|
|
Could you fix the conflicts? |
|
Hi @MaxHalford, I’ve resolved the merge conflicts. The Naive Bayes tests have been kept in their new |
|
Ok good! Can you add a release note to |
|
Hi @MaxHalford, added the release note in unreleased.md under naive_bayes |
Summary
Fixes #1919
MultinomialNB.learn_manyandjoint_log_likelihood_manyto support Narwhals-compatible dataframe inputs.BaseNB.predict_manyimplementation.MultinomialNBmini-batch prediction behavior across supported dataframe backends.Testing